libtest.sh: only check whether $(pwd) is empty once
authorSimon McVittie <smcv@debian.org>
Thu, 31 Mar 2016 16:52:57 +0000 (17:52 +0100)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Thu, 31 Mar 2016 18:54:13 +0000 (18:54 +0000)
commit18e9169d7ae76149833475c14f4c7147f6f91c9e
tree593218ad60fbfd1c0c8962078fb3edd949db3b7b
parent9c4babf316cfbfad61cfcd0ab8fd5e77e9df13be
libtest.sh: only check whether $(pwd) is empty once

test-sysroot.js runs libtestExec() twice, one of which is after
creating non-hidden directories in $(pwd), so this check needs to be
skipped the second time.

Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #234
Approved by: cgwalters
tests/libtest.sh